<template>
    <!--承运人-->
    <div id="CarrierDetails">
        <v-details :detailData="inputData" :inputConfig="inputConfig" ref="input"></v-details>
    </div>
</template>

<script>
    import details from "commons/Detail";
    import baseMixin from "@/mixins/BaseMixin";

    export default {
        name: "CarrierDetails",
        mixins: [baseMixin],
        props: {
            inputData: {
                type: Object
            }
        },
        data() {
            return {
                inputConfig: [
                    [
                        {
                            type: "input",
                            label: "UDF1",
                            props: "susr1",
                        },
                        {
                            type: "input",
                            label: "UDF2",
                            props: "susr2"
                        },
                        {
                            type: "input",
                            label: "UDF3",
                            props: "susr3"
                        },
                        {
                            type: "input",
                            label: "UDF4",
                            props: "susr4"
                        },
                        {
                            type: "input",
                            label: "UDF5",
                            props: "susr5"
                        },
                    ],
                    [
                        {
                            type: "select",
                            label: this.$t('outbound.allocation'),
                            props: "apportionrule",
                            options: this.getOptions("codelkup/APPORTRULE")
                        },
                        {
                            type: "textarea",
                            label: this.$t('common.note'),
                            props: "notes"
                        },
                    ],
                ]
            };
        },
        methods: {
            setdata(data, id, close) {

            }
        },
        mounted() {
        },
        components: {
            "v-details": details
        }
    };
</script>

<style scoped>
</style>

